<html>
<head>
<title>My Form</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/style.css">
</head>
<body id="admin_blog">
<div class="container" style="margin-top:150px;">
	<div class="row">
		<div class="form-group col-md-6 col-md-offset-4 ">
			<form class="form-horizontal" action="" method="POST">
				<div class="panel panel-default">
					<div class="panel-heading">
						<label class="control-label ">登录</label>
					</div>
					<div class="panel-body">
						<div class="form-group">
							<div class="col-sm-2">
							    <label class="control-label ">用户名:</label>
							</div>
						    <div class="col-sm-10">
						    	<input type="text" name="username" class="form-control" value="<?php echo set_value('username'); ?>" size="50" />
						    	<?php echo form_error('username'); ?>
						    </div>
					  	</div>
					  	<div class="form-group">
						  	<div class="col-sm-2">
							    <label class="control-label ">密　码:</label>
							</div>
						    <div class="col-sm-10">
						    	<input type="password" name="password" class="form-control" value="<?php echo set_value('password')?>" size="50" />
						    	<?php echo form_error('password'); ?>
						    </div>
					  	</div>
					  	<div class="col-sm-offset-2 col-sm-10">
					  		<input type="submit" value="提交" class="btn btn-success " />
					  	</div>
					</div>
				</div>
			</form>
		</div>	
	</div>
</div>
</body>
</html>